package com.google.android.gms.internal;

import java.io.IOException;

public final class zzjq extends zzflm<zzjq> {
    private Integer zzbfc = null;
    private Integer zzbfd = null;
    private Integer zzbfe = null;
    private Integer zzbff = null;
    private Integer zzbfg = null;
    private Integer zzbfh = null;
    private Integer zzbfi = null;
    private Integer zzbfj = null;
    private Integer zzbfk = null;
    private Integer zzbfl = null;
    private zzjr zzbfm = null;

    public zzjq() {
        this.zzpvl = null;
        this.zzpnr = -1;
    }

    /* access modifiers changed from: private */
    /* JADX WARNING: Can't fix incorrect switch cases order */
    /* renamed from: zzs */
    /* Code decompiled incorrectly, please refer to instructions dump. */
    public final com.google.android.gms.internal.zzjq zza(com.google.android.gms.internal.zzflj r4) throws java.io.IOException {
        /*
            r3 = this;
        L_0x0000:
            int r0 = r4.zzcxx()
            switch(r0) {
                case 0: goto L_0x00a7;
                case 8: goto L_0x008b;
                case 16: goto L_0x0077;
                case 24: goto L_0x006c;
                case 32: goto L_0x0061;
                case 40: goto L_0x0056;
                case 48: goto L_0x004b;
                case 56: goto L_0x0040;
                case 64: goto L_0x0035;
                case 72: goto L_0x002a;
                case 80: goto L_0x001f;
                case 90: goto L_0x000e;
                default: goto L_0x0007;
            }
        L_0x0007:
            boolean r0 = super.zza(r4, r0)
            if (r0 != 0) goto L_0x0000
            return r3
        L_0x000e:
            com.google.android.gms.internal.zzjr r0 = r3.zzbfm
            if (r0 != 0) goto L_0x0019
            com.google.android.gms.internal.zzjr r0 = new com.google.android.gms.internal.zzjr
            r0.<init>()
            r3.zzbfm = r0
        L_0x0019:
            com.google.android.gms.internal.zzjr r0 = r3.zzbfm
            r4.zza(r0)
            goto L_0x0000
        L_0x001f:
            int r0 = r4.zzcym()
            java.lang.Integer r0 = java.lang.Integer.valueOf(r0)
            r3.zzbfl = r0
            goto L_0x0000
        L_0x002a:
            int r0 = r4.zzcym()
            java.lang.Integer r0 = java.lang.Integer.valueOf(r0)
            r3.zzbfk = r0
            goto L_0x0000
        L_0x0035:
            int r0 = r4.zzcym()
            java.lang.Integer r0 = java.lang.Integer.valueOf(r0)
            r3.zzbfj = r0
            goto L_0x0000
        L_0x0040:
            int r0 = r4.zzcym()
            java.lang.Integer r0 = java.lang.Integer.valueOf(r0)
            r3.zzbfi = r0
            goto L_0x0000
        L_0x004b:
            int r0 = r4.zzcym()
            java.lang.Integer r0 = java.lang.Integer.valueOf(r0)
            r3.zzbfh = r0
            goto L_0x0000
        L_0x0056:
            int r0 = r4.zzcym()
            java.lang.Integer r0 = java.lang.Integer.valueOf(r0)
            r3.zzbfg = r0
            goto L_0x0000
        L_0x0061:
            int r0 = r4.zzcym()
            java.lang.Integer r0 = java.lang.Integer.valueOf(r0)
            r3.zzbff = r0
            goto L_0x0000
        L_0x006c:
            int r0 = r4.zzcym()
            java.lang.Integer r0 = java.lang.Integer.valueOf(r0)
            r3.zzbfe = r0
            goto L_0x0000
        L_0x0077:
            int r1 = r4.getPosition()
            int r2 = r4.zzcym()     // Catch:{ IllegalArgumentException -> 0x009f }
            int r2 = com.google.android.gms.internal.zzjc.zzd(r2)     // Catch:{ IllegalArgumentException -> 0x009f }
            java.lang.Integer r2 = java.lang.Integer.valueOf(r2)     // Catch:{ IllegalArgumentException -> 0x009f }
            r3.zzbfd = r2     // Catch:{ IllegalArgumentException -> 0x009f }
            goto L_0x0000
        L_0x008b:
            int r1 = r4.getPosition()
            int r2 = r4.zzcym()     // Catch:{ IllegalArgumentException -> 0x009f }
            int r2 = com.google.android.gms.internal.zzjc.zzd(r2)     // Catch:{ IllegalArgumentException -> 0x009f }
            java.lang.Integer r2 = java.lang.Integer.valueOf(r2)     // Catch:{ IllegalArgumentException -> 0x009f }
            r3.zzbfc = r2     // Catch:{ IllegalArgumentException -> 0x009f }
            goto L_0x0000
        L_0x009f:
            r4.zzmw(r1)
            r3.zza(r4, r0)
            goto L_0x0000
        L_0x00a7:
            return r3
        */
        throw new UnsupportedOperationException("Method not decompiled: com.google.android.gms.internal.zzjq.zza(com.google.android.gms.internal.zzflj):com.google.android.gms.internal.zzjq");
    }

    public final void zza(zzflk zzflk) throws IOException {
        if (this.zzbfc != null) {
            zzflk.zzad(1, this.zzbfc.intValue());
        }
        if (this.zzbfd != null) {
            zzflk.zzad(2, this.zzbfd.intValue());
        }
        if (this.zzbfe != null) {
            zzflk.zzad(3, this.zzbfe.intValue());
        }
        if (this.zzbff != null) {
            zzflk.zzad(4, this.zzbff.intValue());
        }
        if (this.zzbfg != null) {
            zzflk.zzad(5, this.zzbfg.intValue());
        }
        if (this.zzbfh != null) {
            zzflk.zzad(6, this.zzbfh.intValue());
        }
        if (this.zzbfi != null) {
            zzflk.zzad(7, this.zzbfi.intValue());
        }
        if (this.zzbfj != null) {
            zzflk.zzad(8, this.zzbfj.intValue());
        }
        if (this.zzbfk != null) {
            zzflk.zzad(9, this.zzbfk.intValue());
        }
        if (this.zzbfl != null) {
            zzflk.zzad(10, this.zzbfl.intValue());
        }
        if (this.zzbfm != null) {
            zzflk.zza(11, (zzfls) this.zzbfm);
        }
        super.zza(zzflk);
    }

    /* access modifiers changed from: protected */
    public final int zzq() {
        int zzq = super.zzq();
        if (this.zzbfc != null) {
            zzq += zzflk.zzag(1, this.zzbfc.intValue());
        }
        if (this.zzbfd != null) {
            zzq += zzflk.zzag(2, this.zzbfd.intValue());
        }
        if (this.zzbfe != null) {
            zzq += zzflk.zzag(3, this.zzbfe.intValue());
        }
        if (this.zzbff != null) {
            zzq += zzflk.zzag(4, this.zzbff.intValue());
        }
        if (this.zzbfg != null) {
            zzq += zzflk.zzag(5, this.zzbfg.intValue());
        }
        if (this.zzbfh != null) {
            zzq += zzflk.zzag(6, this.zzbfh.intValue());
        }
        if (this.zzbfi != null) {
            zzq += zzflk.zzag(7, this.zzbfi.intValue());
        }
        if (this.zzbfj != null) {
            zzq += zzflk.zzag(8, this.zzbfj.intValue());
        }
        if (this.zzbfk != null) {
            zzq += zzflk.zzag(9, this.zzbfk.intValue());
        }
        if (this.zzbfl != null) {
            zzq += zzflk.zzag(10, this.zzbfl.intValue());
        }
        return this.zzbfm != null ? zzq + zzflk.zzb(11, (zzfls) this.zzbfm) : zzq;
    }
}
